package Practice.com;

public class Person {
    private String name;
    private int weight;
    private int height;

    public Person(String name, int weight, int height) {
        this.name = name;
        this.weight = weight;
        this.height = height;
    }

    public String getName() {
        return name;
    }

    public int getWeight() {
        return weight;
    }

    public int getHeight() {
        return height;
    }

    @Override
    public String toString() {
        return "Person{" +
                "姓名：" + name +"，"+
                "体重：" + weight +"，"+
                "身高：" + height +
                '}';
    }
}
